package com.ycx.furns.service.impl;

import com.ycx.furns.dao.ManagerDAO;
import com.ycx.furns.dao.impl.ManagerDAOImpl;
import com.ycx.furns.entity.Manager;
import com.ycx.furns.service.ManagerService;

public class ManagerServiceImpl implements ManagerService {
    ManagerDAO managerDAO = new ManagerDAOImpl();
    @Override
    public Manager managerLoginCheck(Manager manager) {
        return managerDAO.getManagerByNameAndPwd(manager.getName(), manager.getPassword());
    }
}
